package com.violet.domain.result;

import com.violet.domain.po.Product;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
public class StatisticalData {
    private Integer todayOrderCount;                // 今日订单数
    // 较昨日订单数 减少/增加 百分比
    private Double todayOrderCountPercentage;
    private Double todayTotalPrice;                 // 今日订单总金额
    // 较昨日销售额 减少/增加 百分比
    private Double todayTotalPricePercentage;
    private Long todayOutStockProductCount;         // 今日缺货产品数
    private Long todayRegisterUserCount;            // 今日注册用户数
    // 较昨日注册用户 减少/增加 百分比
    private Double todayRegisterUserCountPercentage;
    // 热销商品排行榜
    private List<Product> hotProducts;

    private List<Double> weekDayPrice;
    private List<Double> monthDayPrice;
    private List<Double> yearMonthPrice;
}
